package cn.dgut.training.dto.goods;

import cn.dgut.training.dto.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CartUpdateDTO extends BaseDTO {

    @ApiModelProperty(value = "购物车表的id")
    private Long id;

    @ApiModelProperty(value = "商品货品id列表")
    private List<Long> productIds;

    @ApiModelProperty(value = "用户表的用户ID")
    private Long userId;

    @ApiModelProperty(value = "购物车中商品是否选择状态")
    private Boolean isChecked;
}
